<?php
namespace Src;

class Controller
{

    protected $logger;//从bean容器中取出logger对象

    public function __construct()
    {

        $this->logger = Bean::get('logger');
    }

    private function __clone() {}

    public function __destruct() {}

}